package com.liujianlei.forum_system.service;

import com.liujianlei.forum_system.model.User;

/**
 * @author tongchen
 * @create 2023-05-28 17:31
 */
public interface IUserService {
    void createCommonUser(User user);
    User selectByUsername(String username);
    User login(String username,String password);
    User selectByPrimaryKey(Long id);
    void modifyInfo(Long id, Byte gender, String nickname, String phoneNum, String email, String remark);
    void modifyPassword(Long id,String oldPassword,String newPassword,String passwordRepeat);
}
